// 批量添加子集

import {
    toast
} from 'nc-lightapp-front';

import language from '../../language';


export default function() {

    const {
        selectedRows
    } = this.state;


    if(selectedRows.length <= 0) {
        toast({
            color: 'warning',
            content: language['hi6007-000057']/* 国际化处理： 请先选择人员*/
        });
    }
    else {
        this.setState({
            batchAddSubVisible: true
        });
    }
}
